package com.qys.livesMall.navy.controller.sys;

import com.qys.livesMall.anchor.model.dto.task.sys.SysSellLivesAnchorPageDTO;
import com.qys.livesMall.anchor.service.AnchorSellLivesApplyService;
import com.qys.livesMall.common.result.R;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/sys/navy/anchor")
@Tag(name = "水军主播管理", description = "水军主播管理")
public class NavyAnchorController {
    @Resource
    private AnchorSellLivesApplyService anchorSellLivesApplyService;
    @Schema(description = "水军主播任务列表")
    @PostMapping("/list")
    public R lsitNavyAchor(@RequestBody SysSellLivesAnchorPageDTO sysSellLivesAnchorPageDTO){
        return R.ok(anchorSellLivesApplyService.pageBySys(sysSellLivesAnchorPageDTO));
    }
}
